"""
下载大模型及向量嵌入模型
"""
# from modelscope import snapshot_download
import os
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"
from huggingface_hub import snapshot_download


if __name__ == '__main__':
    snapshot_download('BAAI/bge-base-zh-v1.5', cache_dir=r'/root/models')
